package com.nhncorp.pleiades.ens;

import java.io.Serializable;

public class LeaseTime implements Serializable{
  
  private static final long serialVersionUID = 1L;
  private long leaseTime;
  private long registerTime;
  
  public LeaseTime(long time) {
    this.leaseTime = time;
    this.registerTime = System.currentTimeMillis();
  }
  
  public long getLeaseTime() {
    return this.leaseTime;
  }
  
  public long getRegisterTime() {
    return this.registerTime;
  }

}
